home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1996 #5 / Amiga Plus CD - 1996 - No. 5.iso / pd / grafik / tgif / flip-flop.sym < prev    next >
Text File  |  1996-05-30  |  6KB  |  263 lines

  1. state(0,14,100,0,0,0,8,1,8,0,2,0,1,0,0,1,0,0,0,4,0,0,0,10,0).
  2. %
  3. % @(#)$Header: /n/opus/u/guest/william/src/tgif/v3/RCS/flip-flop.sym,v 3.0 1996/05/06 16:05:07 william Exp $
  4. %
  5. text('white',496,184,0,0,4,1,0,0,1,252,21,71,0,17,4,0,0,0,[
  6.     "definition part of the NAND gate."]).
  7. text('white',448,160,0,0,4,1,0,0,1,317,21,72,0,17,4,0,0,0,[
  8.     "Select a NAND gate and type ^V to see the"]).
  9. text('white',496,136,0,0,4,1,0,0,1,164,21,73,0,17,4,0,0,0,[
  10.     "building-block object."]).
  11. text('white',448,112,0,0,4,1,0,0,1,341,21,74,0,17,4,0,0,0,[
  12.     "The rest of this file is the definition part of the"]).
  13. text('white',496,88,0,0,4,1,0,0,1,264,21,75,0,17,4,0,0,0,[
  14.     "is highlighted with a dashed outline."]).
  15. text('white',448,64,0,0,4,1,0,0,1,293,21,76,0,17,4,0,0,0,[
  16.     "The representation part of the flip-flop"]).
  17. text('white',448,40,0,0,4,1,0,0,1,321,21,77,0,17,4,0,0,0,[
  18.     "The SR flip-flop is a building-block object."]).
  19. icon([
  20. group([
  21. poly('yellow',2,[
  22.     192,272,168,272],0,0,1,20,1,0,0,0,[
  23. ]),
  24. poly('yellow',2,[
  25.     192,320,168,320],0,0,1,21,1,0,0,0,[
  26. ]),
  27. poly('yellow',2,[
  28.     312,296,288,296],0,0,1,22,1,0,0,0,[
  29. ]),
  30. group([
  31. oval('yellow',264,284,288,308,2,0,1,78,0,0,[
  32. ]),
  33. poly('yellow',4,[
  34.     224,264,192,264,192,328,224,328],0,0,1,23,0,0,0,0,[
  35. ]),
  36. poly('yellow',3,[
  37.     224,264,264,264,264,296],0,0,1,24,1,0,0,0,[
  38. ]),
  39. poly('yellow',3,[
  40.     224,328,264,328,264,296],0,0,1,25,1,0,0,0,[
  41. ])
  42. ],[
  43. ])
  44. ],[
  45. ]),
  46. icon([
  47. box('yellow',296,280,328,312,0,0,0,79,0,0,[
  48. ]),
  49. box('yellow',308,292,316,300,2,0,1,80,0,0,[
  50. ])
  51. ],
  52. "pin",17,0,0,[
  53. attr("name=", "out", 0, 1, 1,
  54. text('green',312,272,1,0,4,1,1,0,1,88,19,81,0,15,4,0,0,0,[
  55.     "name=out"])),
  56. attr("num=", "3", 1, 0, 1,
  57. text('green',296,280,1,0,4,1,1,0,1,11,19,82,0,15,4,0,0,0,[
  58.     "3"]))
  59. ]),
  60. icon([
  61. box('yellow',152,256,184,288,0,0,0,83,0,0,[
  62. ]),
  63. box('yellow',164,268,172,276,2,0,1,84,0,0,[
  64. ])
  65. ],
  66. "pin",18,0,0,[
  67. attr("num=", "1", 1, 0, 1,
  68. text('green',184,256,1,0,4,1,1,0,1,11,19,85,0,15,4,0,0,0,[
  69.     "1"])),
  70. attr("name=", "in1", 0, 1, 1,
  71. text('green',168,248,1,0,4,1,1,0,1,88,19,86,0,15,4,0,0,0,[
  72.     "name=in1"]))
  73. ]),
  74. icon([
  75. box('yellow',152,304,184,336,0,0,0,87,0,0,[
  76. ]),
  77. box('yellow',164,316,172,324,2,0,1,88,0,0,[
  78. ])
  79. ],
  80. "pin",19,0,0,[
  81. attr("name=", "in2", 0, 1, 1,
  82. text('green',168,296,1,0,4,1,1,0,1,88,19,89,0,15,4,0,0,0,[
  83.     "name=in2"])),
  84. attr("num=", "2", 1, 0, 1,
  85. text('green',184,304,1,0,4,1,1,0,1,11,19,90,0,15,4,0,0,0,[
  86.     "2"]))
  87. ])
  88. ],
  89. "nand2",26,0,0,[
  90. attr("LOC=", "", 1, 1, 1,
  91. text('red',228,285,1,0,5,1,1,0,1,60,24,91,0,19,5,0,0,0,[
  92.     "LOC="]))
  93. ]).
  94. icon([
  95. group([
  96. poly('yellow',2,[
  97.     192,392,168,392],0,0,1,27,1,0,0,0,[
  98. ]),
  99. poly('yellow',2,[
  100.     192,440,168,440],0,0,1,28,1,0,0,0,[
  101. ]),
  102. poly('yellow',2,[
  103.     312,416,288,416],0,0,1,29,1,0,0,0,[
  104. ]),
  105. group([
  106. oval('yellow',264,404,288,428,2,0,1,92,0,0,[
  107. ]),
  108. poly('yellow',4,[
  109.     224,384,192,384,192,448,224,448],0,0,1,30,0,0,0,0,[
  110. ]),
  111. poly('yellow',3,[
  112.     224,384,264,384,264,416],0,0,1,31,1,0,0,0,[
  113. ]),
  114. poly('yellow',3,[
  115.     224,448,264,448,264,416],0,0,1,32,1,0,0,0,[
  116. ])
  117. ],[
  118. ])
  119. ],[
  120. ]),
  121. icon([
  122. box('yellow',296,400,328,432,0,0,0,93,0,0,[
  123. ]),
  124. box('yellow',308,412,316,420,2,0,1,94,0,0,[
  125. ])
  126. ],
  127. "pin",33,0,0,[
  128. attr("num=", "3", 1, 0, 1,
  129. text('green',296,400,1,0,4,1,1,0,1,11,19,95,0,15,4,0,0,0,[
  130.     "3"])),
  131. attr("name=", "out", 0, 1, 1,
  132. text('green',312,392,1,0,4,1,1,0,1,88,19,96,0,15,4,0,0,0,[
  133.     "name=out"]))
  134. ]),
  135. icon([
  136. box('yellow',152,376,184,408,0,0,0,97,0,0,[
  137. ]),
  138. box('yellow',164,388,172,396,2,0,1,98,0,0,[
  139. ])
  140. ],
  141. "pin",34,0,0,[
  142. attr("name=", "in1", 0, 1, 1,
  143. text('green',168,368,1,0,4,1,1,0,1,88,19,99,0,15,4,0,0,0,[
  144.     "name=in1"])),
  145. attr("num=", "1", 1, 0, 1,
  146. text('green',184,376,1,0,4,1,1,0,1,11,19,100,0,15,4,0,0,0,[
  147.     "1"]))
  148. ]),
  149. icon([
  150. box('yellow',152,424,184,456,0,0,0,101,0,0,[
  151. ]),
  152. box('yellow',164,436,172,444,2,0,1,102,0,0,[
  153. ])
  154. ],
  155. "pin",35,0,0,[
  156. attr("num=", "2", 1, 0, 1,
  157. text('green',184,424,1,0,4,1,1,0,1,11,19,103,0,15,4,0,0,0,[
  158.     "2"])),
  159. attr("name=", "in2", 0, 1, 1,
  160. text('green',168,416,1,0,4,1,1,0,1,88,19,104,0,15,4,0,0,0,[
  161.     "name=in2"]))
  162. ])
  163. ],
  164. "nand2",36,0,0,[
  165. attr("LOC=", "", 1, 1, 1,
  166. text('red',228,405,1,0,5,1,1,0,1,60,24,105,0,19,5,0,0,0,[
  167.     "LOC="]))
  168. ]).
  169. poly('cyan',6,[
  170.     312,416,336,416,336,392,144,344,144,320,168,320],0,0,1,41,0,0,0,0,[
  171. ]).
  172. poly('cyan',6,[
  173.     312,296,336,296,336,320,144,368,144,392,168,392],0,0,1,42,0,0,0,0,[
  174. ]).
  175. sym([
  176. group([
  177. box('yellow',208,88,272,168,0,0,1,106,0,0,[
  178. ]),
  179. poly('yellow',2,[
  180.     184,104,208,104],0,0,1,47,0,0,0,0,[
  181. ]),
  182. poly('yellow',2,[
  183.     184,152,208,152],0,0,1,48,0,0,0,0,[
  184. ]),
  185. poly('yellow',2,[
  186.     272,104,296,104],0,0,1,49,0,0,0,0,[
  187. ]),
  188. poly('yellow',2,[
  189.     272,152,296,152],0,0,1,50,0,0,0,0,[
  190. ])
  191. ],[
  192. ]),
  193. icon([
  194. box('yellow',280,88,312,120,0,0,0,107,0,0,[
  195. ]),
  196. box('yellow',292,100,300,108,2,0,1,108,0,0,[
  197. ])
  198. ],
  199. "pin",43,0,0,[
  200. attr("name=", "Q", 1, 0, 1,
  201. text('green',264,96,1,0,4,1,1,0,1,11,19,109,0,15,4,0,0,0,[
  202.     "Q"])),
  203. attr("num=", "", 0, 1, 1,
  204. text('green',296,64,1,0,4,1,1,0,1,44,19,110,0,15,4,0,0,0,[
  205.     "num="]))
  206. ]),
  207. icon([
  208. box('yellow',280,136,312,168,0,0,0,111,0,0,[
  209. ]),
  210. box('yellow',292,148,300,156,2,0,1,112,0,0,[
  211. ])
  212. ],
  213. "pin",44,0,0,[
  214. attr("num=", "", 0, 1, 1,
  215. text('green',296,112,1,0,4,1,1,0,1,44,19,113,0,15,4,0,0,0,[
  216.     "num="])),
  217. attr("name=", "Q'", 1, 0, 1,
  218. text('green',256,144,1,0,4,1,1,0,1,22,19,114,0,15,4,0,0,0,[
  219.     "Q'"]))
  220. ]),
  221. icon([
  222. box('yellow',168,88,200,120,0,0,0,115,0,0,[
  223. ]),
  224. box('yellow',180,100,188,108,2,0,1,116,0,0,[
  225. ])
  226. ],
  227. "pin",45,0,0,[
  228. attr("num=", "", 0, 1, 1,
  229. text('green',184,64,1,0,4,1,1,0,1,44,19,117,0,15,4,0,0,0,[
  230.     "num="])),
  231. attr("name=", "S'", 1, 0, 1,
  232. text('green',224,96,1,0,4,1,1,0,1,22,19,118,0,15,4,0,0,0,[
  233.     "S'"]))
  234. ]),
  235. icon([
  236. box('yellow',168,136,200,168,0,0,0,119,0,0,[
  237. ]),
  238. box('yellow',180,148,188,156,2,0,1,120,0,0,[
  239. ])
  240. ],
  241. "pin",46,0,0,[
  242. attr("name=", "R'", 1, 0, 1,
  243. text('green',224,144,1,0,4,1,1,0,1,22,19,121,0,15,4,0,0,0,[
  244.     "R'"])),
  245. attr("num=", "", 0, 1, 1,
  246. text('green',184,112,1,0,4,1,1,0,1,44,19,122,0,15,4,0,0,0,[
  247.     "num="]))
  248. ])
  249. ],[
  250. ]).
  251. poly('cyan',4,[
  252.     184,104,80,104,80,272,168,272],0,0,1,51,0,0,0,0,[
  253. ]).
  254. poly('cyan',4,[
  255.     184,152,64,152,64,440,168,440],0,0,1,52,0,0,0,0,[
  256. ]).
  257. poly('cyan',4,[
  258.     312,296,360,296,360,104,296,104],0,0,1,53,0,0,0,0,[
  259. ]).
  260. poly('cyan',4,[
  261.     312,416,376,416,376,152,296,152],0,0,1,54,0,0,0,0,[
  262. ]).
  263.